home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
51329
/
51329.xpi
/
chrome
/
firefound.jar
/
content
/
threat.xul
< prev
Wrap
Extensible Markup Language
|
2009-12-14
|
2KB
|
69 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://global/content/commonDialog.css" type="text/css"?>
<?xml-stylesheet href="chrome://global/skin/commonDialog.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://firefound/locale/strings.dtd">
<dialog id="commonDialog"
title="&threatDialog.title;"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
buttons="cancel,accept"
onload="sizeToContent(); threat.load();"
ondialogaccept="return threat.accept();"
ondialogcancel="return threat.cancel();"
buttonpack="center"
style="min-width: 29em; min-height: 8.5em; -moz-user-focus: ignore;">
<script type="application/javascript" src="chrome://global/content/commonDialog.js"/>
<script type="application/x-javascript" src="chrome://global/content/globalOverlay.js"/>
<script type="application/x-javascript">
<![CDATA[
var threat = {
load : function () {
// Shut in 30 seconds.
setTimeout(function () { document.getElementById('commonDialog').acceptDialog(); }, 30 * 1000);
},
cancel : function () {
var re = window.arguments[0];
re[0] = false;
},
accept : function () {
var re = window.arguments[0];
re[0] = document.getElementById("loginTextbox").value;
re[1] = document.getElementById("password1Textbox").value;
return true;
}
};
]]>
</script>
<grid>
<columns>
<column/>
<column flex="1"/>
</columns>
<rows>
<row>
<hbox align="start">
<image id="info.icon" class="spaced authentication-icon question-icon"/>
</hbox>
<vbox id="infoContainer">
<description id="info.title" class="dialogTitle">&threatDialog.title;</description>
<description id="info.header" class="header">&threatDialog.description;</description>
</vbox>
</row>
<row id="loginContainer" align="center">
<label id="loginLabel" value="&threatDialog.username.label;" control="loginTextbox"/>
<textbox id="loginTextbox"/>
</row>
<row id ="password1Container" align="center">
<label id="password1Label" value="&threatDialog.password.label;" control="password1Textbox"/>
<textbox type="password" id="password1Textbox"/>
</row>
</rows>
</grid>
</dialog>